/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package za.co.pas.business.message;

import za.co.pas.business.data.Company;

/**
 *
 * @author alabuschagne
 */
public class CompanySaved extends MessageObj
{
    public CompanySaved()
    {
        super(MessageObj.COMPANY_DETAILS_SAVED);
    }

    public CompanySaved(Company newCompany)
    {
        super(MessageObj.COMPANY_DETAILS_SAVED);
        setNewValue(newCompany);
    }

    public CompanySaved(Company currentCompany, Company newCompany)
    {
        super(MessageObj.COMPANY_DETAILS_SAVED);
        setOldValue(currentCompany);
        setNewValue(newCompany);
    }

}